<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- bootstrap -->
    <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
    <script src="/assets/js/bootstrap.min.js"></script>
    <title>博客</title>
</head>

<body>
    <div class="container">
        {{ template "header" }}

        <hr>
        <form method="post" action="/login">
            <div class="mb-3">
                <label for="exampleInputEmail1" class="form-label">用户名称</label>
                <input type="text" name="username" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
            </div>
            <div class="mb-3">
                <label for="exampleInputPassword1" class="form-label">用户密码</label>
                <input type="password" name="password" class="form-control" id="exampleInputPassword1">
            </div>
            <p style="background-color: red;">{{ . }}</p>

            <button type="submit" class="btn btn-primary">登录</button>
        </form>
    </div>
</body>

</html>